package com.jzl.swing.service;


import java.util.List;

import com.jzl.swing.entity.Supplier;

public interface SupplierService {
	public abstract int addSupplier(Supplier supplier	)throws Exception;
	public abstract int deleteSupplier(Supplier supplier)throws Exception;
	public abstract int modifySupplier(Supplier supplier)throws Exception;
	public abstract List<Supplier> queryAll()throws Exception;
	public abstract Supplier queryById(String supplier_id)throws Exception;
	public abstract List<Supplier> queryByName(String supplier_name)throws Exception;
}
